Reepay\Checkout\Gateways\ReepayGateway D

Total Complexity 235
Dependencies 12
Dependents 2
Total lines 1,758
Lines of code 1,134
Logical lines of code 505
Comment lines 339
Methods 30
Properties 18

Methods 30

Method Rating Maintainability Complexity Lines of code
process_payment()
D
16
62 256
get_order_items()
D
27
40 127
is_webhook_configured()
B
39 18 67
add_payment_method()
A
35 10 96
wcs_change_payment_method()
A
36 10 85
process_session_charge()
A
36 9 92
exclude_payment_gateway_based_on_currency()
A
50 10 28
get_logo()
S
39 4 70
get_webhook_url()
S
52 7 22
get_language()
S
54 6 21
reepay_cancel()
S
53 6 21
refund_payment()
S
57 6 16
check_is_active()
S
57 6 16
get_skip_order_lines_amount()
S
57 5 16
generate_gateway_status_html()
S
47 3 40
get_account_info()
S
57 4 17
process_refund()
S
59 4 15
is_gateway_settings_page()
S
73 4 4
init_form_fields()
S
51 2 29
reepay_card_store()
S
58 3 14
cancel_payment()
S
64 3 10
capture_payment()
S
63 3 10
get_icon()
S
55 1 20
payment_fields()
S
71 2 6
needs_setup()
S
79 2 3
apply_parent_settings()
S
61 1 12
can_refund()
S
76 1 4
can_capture()
S
75 1 4
can_cancel()
S
76 1 4
__construct()
S
64 1 9